package challenge;

import java.io.*;

public class FileSearchC {
	public static void main(String[] args) {
	    String path = "C:/";
	    File dir = new File(path);
	    File[] files = dir.listFiles();
	    for (int i = 0; i < files.length; i++) {
	        File file = files[i];
	        System.out.println((i + 1) + ":    " + file);
	    }
	}
}
